home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
simulato
/
v2_3_mc6.tz
/
v2_3_mc6
/
testfiles
/
mvm.asm
< prev
next >
Wrap
Assembly Source File
|
1994-05-02
|
911b
|
50 lines
;
; mvm.asm
; C. Ward 2/18/93
; Test program for the movem instruction.
; Check that the data and address registers contain
; the values 1,2,3,... etc.
;
;
ORG $1000
MOVE.L #1,D1
MOVE.L #2,D2
MOVE.L #3,D3
MOVE.L #4,D4
MOVE.L #5,D5
MOVE.L #6,D6
MOVE.L #7,D7
MOVEA.L #1,A1
MOVEA.L #2,A2
MOVEA.L #3,A3
MOVEA.L #4,A4
MOVEA.L #5,A5
MOVEA.L #6,A6
MOVEM.L A0-A6/D0-D7,-(SP)
CLR.L D0
CLR.L D1
CLR.L D2
CLR.L D3
CLR.L D4
CLR.L D5
CLR.L D6
CLR.L D7
MOVEA.L D0,A0
MOVEA.L D0,A1
MOVEA.L D0,A2
MOVEA.L D0,A3
MOVEA.L D0,A4
MOVEA.L D0,A5
MOVEA.L D0,A6
MOVEM.L (SP)+,D7-D0/A6-A0
MOVE.L #228,D7
TRAP #14
END